using System.Collections.Generic;
using Olemas.Models;

namespace Olemas.ViewModels
{
    /// <summary>
    /// ViewModel for the Faculty sidebar
    /// </summary>
    public class FacultiesViewModel
    {
        public IEnumerable<Faculty> Faculties { get; private set; }
        public string Action { get; private set; }
        public string Controller { get; private set; }

        /// <param name="faculties">Faculties from the database.</param>
        /// <param name="action">The action method to run.</param>
        /// <param name="controller">The controller in which the action method is.</param>
        public FacultiesViewModel(IEnumerable<Faculty> faculties, string action, string controller)
        {
            Faculties = faculties;
            Action = action;
            Controller = controller;
        }
    }
}